<?php 
session_start();
$orderId = $_SESSION['orderid'];

if(!empty($_GET['userid'])){
	
	$id = $_GET['userid'];
}

if($_SESSION['orderstatus']==$orderId.'no'){
	if($orderId){
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8;" />
<link href="css/style.css" type="text/css" rel="stylesheet">
<link  id="iepng" href="" type="text/css" rel="stylesheet">
<script>
   if(window.XMLHttpRequest)
    {
        document.getElementById('iepng').href="css/normal.css";
    }
</script>

</head>
<body>
<div class="charge_wrap">
	<?php include 'left.php';?>
	<div class="chargeMain">
		<div class="chargeTitle"><span>充值失败</span></div>
		<div class="step"><img src="../Public/img/step3.jpg" /></div>
			
				<div align="center" style="margin-top:80px;">
					<img src="../Public/img/regfailed.jpg" style="position:relative;top:13px;"></img>
					<strong style="color:#787878;">单号&nbsp;&nbsp;&nbsp;<font color="red"><?php echo $orderId;?></font>&nbsp;&nbsp;充值失败</strong>
				</div>
				<div align="center" style="margin-top:10px;margin-bottom:50px;"><a href="checkorder.php?userid=<?php echo $id;?>" style="color:blue;text-decoration:underline;">重新查询</a></div>

	</div>
	
	<div style="clear:both"></div>


</div>
</body>
</html>

<?php 	
	
}}else{
	
		echo "非法操作！<a href='index.php'>返回首页</a>";
}?>